/**
 * @author:albert
 * @date:2016年6月12日
 */
package com.bkbw.live.battle.business.skill.ability;

import java.util.HashMap;

import com.bkbw.live.battle.business.skill.AbilityBase;
import com.bkbw.live.common.dataproto.EnumConfigPb.AbilityType;

/**
 * @author albert
 *
 */
public class NullAbility extends AbilityBase {

	/**
	 * @param abilityId
	 * @param param
	 */
	public NullAbility(String abilityId, HashMap<String, Object> param) {
		super(abilityId, param);
		// TODO Auto-generated constructor stub
	}
	
	static {
		HashMap<String, Object> param = new HashMap<String, Object>();
		param.put("cooldown", 1.0f);
		param.put("spellTime", 1.0f);
		param.put("abilityType", AbilityType.NormalAttack);
		param.put("distance", 0f);
		instance = new NullAbility("NullAbility", param);
	}
	
	private static NullAbility instance;
	public static NullAbility getInstance() {
		return instance;
	}

}
